home *** CD-ROM | disk | FTP | other *** search
/ Exploring Where & Why / Exploring Where & Why.iso / pc / DIALOG.DIR / 00024_close for quit.ls < prev    next >
Encoding:
Text File  |  2003-10-01  |  206 b   |  15 lines

  1. on mouseDown
  2.   puppetSound(1, "button noise")
  3.   updateStage()
  4. end
  5.  
  6. on mouseUp
  7.   global gUI
  8.   repeat while soundBusy(1)
  9.     updateStage()
  10.   end repeat
  11.   tell the stage
  12.     closeDialogWin(gUI)
  13.   end tell
  14. end
  15.